# coding: utf-8
from . import db, BaseModel


class Group(db.Model):
    __tablename__ = 'group'

    auto_id = db.Column(db.Integer, primary_key=True)
    group_id = db.Column(db.BigInteger, index=True, info='组号')
    group_name = db.Column(db.String(255), info='小组名称')
    experiment_id = db.Column(db.BigInteger, info='实验编号')
    is_delete = db.Column(db.Integer, server_default=db.FetchedValue())
    update_time = db.Column(db.DateTime, server_default=db.FetchedValue())
    create_time = db.Column(db.DateTime, server_default=db.FetchedValue())
